.query-solution {
    .solution-header {
        height: auto !important;
        margin-bottom: 10px !important;
        display: flex;
        align-items: center;
        justify-content: space-between
    }

    .farris-panel {
        border: none;
    }

    .solution-header-title {
        padding: #{$f-btn-padding-y + 0.0625rem} 6px #{$f-btn-padding-y + 0.0625rem} 12px;
        border-radius: $farris-border-radius;
        display: flex;
        flex-direction: row;
        align-items: center;
        color: $f-theme-03;
        font-size: $farris-btn-font-size;
        vertical-align: middle;
        background: $f-theme-more-01;
        cursor: pointer;

        .header-title--change {
            margin: 0 4px;
        }

        .solution-header-title-text {
            margin-right: 6px;
            overflow: hidden;
            height: 22px;
        }

        .f-accordion-expand {
            color: $f-theme-03;
        }
    }

    .solution-action {
        display: flex;
        align-items: center;
        flex-shrink: 0;

        .dropdown {
            .btn {
                border: 0;
            }
        }

        //图标组
        .icon-group {
            display: flex !important;
            align-items: center;

            .f-icon-remove {
                color: $farris-btn-secondary-color;
                background: $farris-btn-secondary-bg;
                border: 1px solid $farris-btn-secondary-border;
                border-radius: $farris-border-radius;
                width: $f-input-height;
                height: $f-input-height;
                text-align: center;
                line-height: 20px;
                display: block;
                box-shadow: $farris-btn-box-shadow-outline;

                &:hover {
                    border-color: $farris-btn-secondary-hover-border;
                    color: $farris-btn-secondary-hover-color;
                    background: $farris-btn-secondary-hover-bg;
                }
            }

            .f-icon-home-setup,
            .f-icon-packup {
                font-size: 0.875rem;
            }

            .icon-group-packup {
                margin-right: 0;
                margin-left: 4px;
            }
        }

        span {
            vertical-align: inherit;
        }

        .divide {
            color: $f-neutral-13;
            position: relative;
            margin: 0 0.3125rem;

            &::after {
                position: absolute;
                content: '';
                height: 12px;
                width: 1px;
                background-color: $f-neutral-13;
                left: 0;
                top: 50%;
                margin-top: -6px;
            }
        }
    }

    .solution-header-title-menu {
        margin-top: 8px;
    }

    .solution-header-title-menu-inner {
        position: relative;
        width: 18.9375rem;

        .menu-item--change {
            margin: 0 4px 0 0;
        }

        .solution-header-title-menu-arrow {
            position: absolute;
            content: '';
            display: block;
            left: 1.5rem;
            top: -0.5rem;
            width: 8.48528137px;
            height: 8.48528137px;
            background: transparent;
            border-style: solid;
            border-width: 4.24264069px;
            border-top-color: #fff;
            border-right-color: transparent;
            border-bottom-color: transparent;
            border-left-color: #fff;
            box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.08);
            transform: translateX(-50%) rotate(45deg);
        }

        .solution-header-dropdown-item {
            cursor: pointer;

            &.solution-header-dropdown-item-active {
                background: $farris-dropdown-link-active-bg;
            }
        }

        .solution-header-dropdown-item {
            display: flex;
            flex-direction: row;
            align-items: center;

            .solution-header-dropdown-item-title {
                flex-shrink: 1;
                flex-grow: 1;
                flex-basis: 0;
                padding-right: 0.25rem;
                color: $f-text-02;
                font-size: 0.875rem;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .solution-header-dropdown-item-tip {
                flex-shrink: 0;
                height: 1.125rem;
                min-width: 2.5rem;
                padding: 0 4px;
                line-height: 1.125rem;
                font-size: 0.75rem;
                background: $f-semantic-success-01;
                color: #fff;
                border-radius: 2px;
                text-align: center;
            }
        }

        .solution-header-dropdown-item-btns {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-end;
            height: 2.25rem;
            padding: 0 0.875rem;
            line-height: 2.25rem;
            border-top: 1px solid rgba(0, 0, 0, 0.07);

            .dropdown-item-btn {
                margin-left: 0.5rem;
                color: $f-theme-03;
                cursor: pointer;
            }
        }
    }

    .summary-condition {
        flex-shrink: 0;
        flex-grow: 1;
        flex-basis: 0;
        overflow: hidden;
        margin: 0 12px 0 0;
        display: flex;
    }

    .summary-list {
        overflow: hidden;
    }

    .summary-condition-wrapper {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        background: $f-aid-02;
        border: 1px solid $f-aid-01;
        border-radius: 3px;
        font-size: 13px;
        color: #2D2F33;
        line-height: 24px;
        height: 26px;
        box-shadow: 0px 1px 4px 0px rgba(0, 28, 65, 0.08);
    }

    .summary-condition--item {
        padding: 0 12px;
        vertical-align: top;
    }

    .summary-condition--item .summary-condition--label {
        margin: 0 2px 0 0;
    }

    .summary-condition--item .summary-condition--text {
        margin: 0 0 0 8px;
    }

    .summary-condition--spliter {
        width: 1px;
        height: 14px;
        background: #DDE1EB;
        display: inline-block;
        margin: 5px 0 0;
    }

}

.solutionmanager-inner {
    padding: 0 14px;
    flex: 1;
    height: 100%;

    .solutionmanager-grid-delete {
        font-size: 0.875rem;
        color: $f-theme-03;
    }
}

/*収折条件后的提示*/

.summary-list--tips {

    .summary-condition--label {
        margin: 0 2px 0 0;
    }

    .summary-condition--text {
        margin: 0 0 0 8px;
    }

    .summary-condition--gutter {
        margin: 0 10px 0 4px;
    }

    .tooltip {
        margin-top: -6px;
    }

    .tooltip-inner {
        text-align: left;
        background: $farris-tooltip-bg;
        color: rgba(255, 255, 255, 0.85);
        font-size: 13px;
        line-height: 24px;
    }

    .arrow {
        left: 35px !important;

        &::before {
            border-width: 0 .3rem .3rem;
            border-bottom-color: $farris-tooltip-arrow-color;
        }
    }
}

.farris-form.condition-div {
    margin-right: -5px;
    margin-left: -5px;

    .qlabel-gutter {
        display: none;
    }

    &>[class*=col-] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

.condition-with-line.farris-form-controls-inline {
    .qlabel-gutter {
        display: inline;
        margin-left: 2px;
    }

    .qradio-group .qlabel-gutter {
        margin-right: 8px;
    }

    .input-group {
        border: none;
    }

    // 不限定输入控件的最小宽度
    .farris-input-wrap {
        flex-basis: 0;
    }


    .common-group {
        border: 1px solid #D8DCE6;
        border-radius: 3px;
        padding-left: 8px;
        /*圆角被挡住*/
        padding-right: 1px;

        .col-form-label {
            font-size: 13px;
            color: #6A6F79;
            width: auto;
            margin-right: 0;
            flex-grow: 0;
            flex-shrink: 1;
            flex-basis: auto;
            max-width: 220px;
        }

        .f-solution-radio-group {
            flex-shrink: 1;
            flex-grow: 1;
            flex-basis: 0;
        }


        .input-group {

            &,
            &.f-state-focus {
                outline: none;
                box-shadow: none;
                border: none;
            }
        }
    }

    .common-group:not(.q-state-readonly):hover {

        border-color: $f-input-focus-border-color;
        box-shadow: $f-input-box-shadow, $f-input-focus-box-shadow;
    }

    .farris-group-multi-label .farris-group-wrap .col-form-label .farris-label-text {
        text-align: left;
    }
}

// 限定输入控件最小宽度
.condition-with-fixed.farris-form-controls-inline {

    .number-range-group,
    .datepicker-range-group {
        .farris-input-wrap {
            min-width: 120px;
        }
    }
}

/*标签显示全样式，最长显示10个字符*/
.condition-with-line {
    &.f-form-label-xl .farris-group-wrap .col-form-label {
        max-width: 153px;
    }
}


/*设定条件只能显示6行，超出滚动*/
.query-solution .condition-div {
    max-height: 204px;
    overflow-y: auto;
}